<?php
use common\service\StaticService;
use common\service\GlobalUrlService;
use shopend\assets\ShopAsset;
use common\service\CommonService;

StaticService::includeAppCssStatic(GlobalUrlService::buildShopStaticUrl('/css/withdraw/info.css'),ShopAsset::class);
?>

<div >
  <div class="info">
    <fieldset class="layui-elem-field">
      <legend>提现查看</legend>
      <div class="layui-field-box">
        <ul>
          <li>
            <span class="title">提现订单号</span>
            <span class="item"><?=$row['withdraw_no']?></span>
          </li>
          <li>
            <span class="title">店铺id</span>
            <span class="item"><?=$row['shop_id']?></span>
          </li>
          <li>
            <span class="title">店铺名称</span>
            <span class="item"><?=$row['shop_name']?></span>
          </li>
          <li>
            <span class="title">店铺联系人电话</span>
            <span class="item"><?=$row['shop_phone']?></span>
          </li>
          <li>
            <span class="title">提现金额</span>
            <span class="item"><?=$row['withdraw_money']?></span>
          </li>
          <li>
            <span class="title">手续费</span>
            <span class="item"><?=$row['service_money']?></span>
          </li>

          <li>
            <span class="title">原有余额</span>
            <span class="item"><?=$row['before_money']?></span>
          </li>
          <li>
            <span class="title">提现后余额</span>
            <span class="item"><?=$row['after_money']?></span>
          </li>
          <li>
            <span class="title">提现申请时间</span>
            <span class="item"><?=($row['create_time']) ? date('Y-m-d H:i:s',$row['create_time']) : ' '?></span>
          </li>
          <li>
            <span class="title">审核反馈时间</span>
            <span class="item"><?= ($row['examine_time']) ? date('Y-m-d H:i:s',$row['examine_time']) : ' '?></span>
          </li>
          <li>
            <span class="title">完成时间</span>
            <span class="item"><?= ($row['complete_time']) ? date('Y-m-d H:i:s',$row['complete_time']) : ' ' ?></span>
          </li>
          <li>
            <span class="title">审核结果</span>
            <span class="item"><?= CommonService::getWithdrawStatus($row['withdraw_status'])?></span>
          </li>
          
        </ul>
      </div>
    </fieldset>
    <div class="btns">
      <a href="<?=GlobalUrlService::buildShopUrl('withdraw/index-list')?>" class="btn layui-btn">返回</a>
    </div>
  </div>
</div>